package com.dingli.shop.impl;

import com.dingli.shop.biz.MenusBiz;
import com.dingli.shop.po.MenusVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenusBizlmpl implements MenusBiz {
    @Autowired
    private MenusBiz menusBiz;
    @Override
    public List<MenusVO> findMenus() {
        try {
            return menusBiz.findMenus();
        } catch (Exception e) {
            return null;
        }
    }
}
